package com.bwie.product.service.impl;

import com.bwie.common.core.domain.R;
import com.bwie.common.core.domain.Result;
import com.bwie.product.domain.po.PmsSkuImages;
import com.bwie.product.mapper.PmsSkuImagesMapper;
import com.bwie.product.service.PmsSkuImagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PmsSkuImagesServiceImpl implements PmsSkuImagesService {
    @Autowired
    private PmsSkuImagesMapper pmsSkuImagesMapper;
    @Override
    public  Result<List<PmsSkuImages>> selectSkuImagesList(Long skuId) {
        List<PmsSkuImages> pmsSkuImages = pmsSkuImagesMapper.selectSkuImagesList(skuId);
        return Result.success(pmsSkuImages);
    }
}
